package com.wang.springframework.test.converter;

import com.wang.springframework.core.convert.converter.Converter;

/**
 * @author wangjianhua
 * @Description
 * @date 2021/9/7/007 15:25
 **/
public class StringToIntegerConverter implements Converter<String,Integer> {

    @Override
    public Integer convert(String source) {
        return Integer.valueOf(source);
    }
}
